﻿@model IEnumerable<MvcJE.Core.Inet.MopModule>
@foreach (var item in Model)
{
    <tr data-pkey="@item.MopModuleId">
        <td>
            <span style="font-size: 85%;">[@Html.ActionLink("Edit", "FullEdit", new { controller = "TemplateMgr", area = "Inet", id = item.MopModuleId }) |
                 <a href="javascript:void(0)" class="clickToDialog" data-title="Template" data-source-url="/Inet/TemplateMgr/Display/@item.MopModuleId" data-width="750" data-heigh="600">
                    View</a> | @Html.ActionLink("Load", "Index", new { controller = "MopInputData", area = "Inet", id = item.MopModuleId })]
            </span>
        </td>
        <td>
            @Html.ActionLink(item.Title, "CreateMOP", new { id = item.MopModuleId })
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.MopModuleGroup.Name)
        </td>
        <td class="hidden">
            @Html.DisplayFor(modelItem => item.Template)
        </td>
        <td class="hidden">
            @Html.DisplayFor(modelItem => item.Notes)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CreatedBy)
        </td>
        <td class="hidden">
            @Html.DisplayFor(modelItem => item.Attributes)
        </td>
        <td class="hidden">
            @Html.DisplayFor(modelItem => item.DateCreated)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DateUpdated)
        </td>
        <td class="rowControl hidden">
            [<a href="#deleteRow" class="deleteRow">Del</a>]
        </td>
    </tr>
}
